home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Muddweller 1.2 / source code / Main / Strings.r < prev    next >
Encoding:
Text File  |  1994-02-18  |  5.1 KB  |  214 lines  |  [TEXT/MPS ]

  1. /* Strings - Defines the string and error resources of MUDDweller             */
  2.  
  3. #ifndef __TYPES.R__
  4. #include "Types.r"
  5. #endif
  6.  
  7. #ifndef __MacAppTypes__
  8. #include "MacAppTypes.r"
  9. #endif
  10.  
  11. /* -------------------------------------------------------------------------- */
  12.  
  13. #define kMUDStrings            1002
  14. #define kKeyStrings            1003
  15. #define kCmdStrings            1004
  16.  
  17. #define kErrReasons            1128
  18.  
  19. /* -------------------------------------------------------------------------- */
  20.  
  21. resource 'STR#' (kMUDStrings,
  22. #if qNames
  23.     "kMUDStrings",
  24. #endif
  25.     preload) {
  26.      {    /* [1] */    "Open Connection";
  27.          /* [2] */    "Abort Connection";
  28.          /* [3] */    "Connection…";
  29.          /* [4] */    "TCP/IP Address…";
  30.          /* [5] */    "update ";
  31.          /* [6] */    "ed ";
  32.          /* [7] */    "w ";
  33.          /* [8] */    "1,$d\n";
  34.          /* [9] */    "a\n";
  35.          /* [10] */    ".\n";
  36.          /* [11] */    "Q\n";
  37.          /* [12] */    ":";
  38.          /* [13] */    "> ";
  39.          /* [14] */    "1p\n";
  40.          /* [15] */    ".+1p\n";
  41.          /* [16] */    ".p\n";
  42.          /* [17] */    "1,20p\n";
  43.          /* [18] */    ".+1,.+20p\n";
  44.          /* [19] */    ".-19,.p\n";
  45.          /* [20] */    "Unrecognized or failed command.\n";
  46.          /* [21] */    "MPW Shell";
  47.          /* [22] */    "0.0.0.0";
  48.          /* [23] */    "Log to File…";
  49.          /* [24] */    "Close Log";
  50.          /* [25] */    "<<<>>> Log";
  51.          /* [26] */    "Save log as:";
  52.          /* [27] */    "Shift-";
  53.          /* [28] */    "Opt-";
  54.          /* [29] */    "Ctl-";
  55.          /* [30] */    "DEL";
  56.          /* [31] */    "Clear";
  57.          /* [32] */    "Escape";
  58.          /* [33] */    "F1";
  59.          /* [34] */    "F2";
  60.          /* [35] */    "F3";
  61.          /* [36] */    "F4";
  62.          /* [37] */    "F5";
  63.          /* [38] */    "F6";
  64.          /* [39] */    "F7";
  65.          /* [40] */    "F8";
  66.          /* [41] */    "F9";
  67.          /* [42] */    "F10";
  68.          /* [43] */    "F11";
  69.          /* [44] */    "F12";
  70.          /* [45] */    "F13";
  71.          /* [46] */    "F14";
  72.          /* [47] */    "F15";
  73.          /* [48] */    "FwdDel";
  74.          /* [49] */    "OFF";
  75.     }
  76. };
  77.  
  78. /* -------------------------------------------------------------------------- */
  79.  
  80. resource 'STR#' (kKeyStrings,
  81. #if qNames
  82.     "kKeyStrings",
  83. #endif
  84.     preload) {
  85.      {    /* [1] */    "NUL";
  86.          /* [2] */    "Home";
  87.          /* [3] */    "STX";
  88.          /* [4] */    "Enter";
  89.          /* [5] */    "End";
  90.          /* [6] */    "Help";
  91.          /* [7] */    "ACK";
  92.          /* [8] */    "BEL";
  93.          /* [9] */    "Delete";
  94.          /* [10] */    "Tab";
  95.          /* [11] */    "PgUp";
  96.          /* [12] */    "VT";
  97.          /* [13] */    "PgDown";
  98.          /* [14] */    "Return";
  99.          /* [15] */    "SO";
  100.          /* [16] */    "SI";
  101.          /* [17] */    "DLE";
  102.          /* [18] */    "DC1";
  103.          /* [19] */    "DC2";
  104.          /* [20] */    "DC3";
  105.          /* [21] */    "DC4";
  106.          /* [22] */    "NAK";
  107.          /* [23] */    "SYN";
  108.          /* [24] */    "ETB";
  109.          /* [25] */    "CAN";
  110.          /* [26] */    "EM";
  111.          /* [27] */    "SUB";
  112.          /* [28] */    "Escape";
  113.          /* [29] */    "Left";
  114.          /* [30] */    "Right";
  115.          /* [31] */    "Up";
  116.          /* [32] */    "Down";
  117.          /* [33] */    "Space";
  118.     }
  119. };
  120.  
  121. /* -------------------------------------------------------------------------- */
  122.  
  123. resource 'STR#' (kCmdStrings,
  124. #if qNames
  125.     "kCmdStrings",
  126. #endif
  127.     preload) {
  128.      {    /* [1] */    "SEND";
  129.          /* [2] */    "MATCH";
  130.          /* [3] */    "WAIT";
  131.          /* [4] */    "PASSWD";
  132.          /* [5] */    "QUIET";
  133.          /* [6] */    "ECHO";
  134.     }
  135. };
  136.  
  137. /* -------------------------------------------------------------------------- */
  138.  
  139. resource 'errs' (kErrReasons,
  140. #if qNames
  141.     "ErrReasons",
  142. #endif
  143.     purgeable) {
  144.     {    whichList, 0, kErrReasons;
  145.         -23003, -23000, 2;
  146.         -23004, -23004, 3;
  147.         -23005, -23005, 4;
  148.         -23008, -23008, 25;
  149.         -23009, -23009, 5;
  150.         -23012, -23012, 25;
  151.         -23015, -23015, 11;
  152.         -23016, -23016, 6;
  153.         -23033, -23033, 7;
  154.         -23036, -23036, 10;
  155.         -23037, -23037, 8;
  156.         -23041, -23041, 21;
  157.         -23044, -23044, 9;
  158.         -23045, -23045, 22;
  159.         -23046, -23046, 7;
  160.         -23047, -23047, 23;
  161.         -23048, -23048, 10;
  162.         -23048, -23000, 1;
  163.         -25001, -25001, 12;
  164.         -25002, -25002, 13;
  165.         -25003, -25003, 14;
  166.         -25004, -25004, 15;
  167.         -25005, -25005, 16;
  168.         -25006, -25006, 17;
  169.         -25007, -25007, 18;
  170.         -25008, -25008, 19;
  171.         -25009, -25009, 20;
  172.         -25018, -25010, 24;
  173.         -25019, -25019, 26;
  174.     }
  175. };
  176.  
  177. /* -------------------------------------------------------------------------- */
  178.  
  179. resource 'STR#' (kErrReasons,
  180. #if qNames
  181.     "app error explanations",
  182. #endif
  183.     purgeable) {
  184.     {    /* [1] */    "of a MacTCP error";
  185.         /* [2] */    "of an error in the MacTCP configuration";
  186.         /* [3] */    "of an error in getting the address";
  187.         /* [4] */    "the connection is closing";
  188.         /* [5] */    "of insufficient resources to perform the request";
  189.         /* [6] */    "the command timed out";
  190.         /* [7] */    "none of the known name servers are responding";
  191.         /* [8] */    "no route could be found";
  192.         /* [9] */    "no nameserver could be found";
  193.         /* [10] */    "there is not enough free memory";
  194.         /* [11] */    "the connection could not be opened";
  195.         /* [12] */    "no communication tool could be found";
  196.         /* [13] */    "of an error while initializing the communication toolbox";
  197.         /* [14] */    "the document has an unknown format";
  198.         /* [15] */    "of a network failure";
  199.         /* [16] */    "of a transmission error";
  200.         /* [17] */    "the network is unreachable";
  201.         /* [18] */    "the host is unreachable";
  202.         /* [19] */    "the receiver process is unreachable";
  203.         /* [20] */    "nobody listens on the specified TCP port";
  204.         /* [21] */    "the host name has a syntax error";
  205.         /* [22] */    "this domain name does not exist";
  206.         /* [23] */    "of an error in the name translation";
  207.         /* [24] */    "of a communication manager error";
  208.         /* [25] */    "the remote host closed the connection";
  209.         /* [26] */    "the connection timed out";
  210.     }
  211. };
  212.  
  213. /* -------------------------------------------------------------------------- */
  214.